Optimal. Leaf size=191 \[ \frac{\sqrt{a} \sqrt{b} \sqrt{1-\frac{b x^2}{a}} \sqrt{c+d x^2} E\left (\sin ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )|-\frac{a d}{b c}\right )}{d \sqrt{b x^2-a} \sqrt{\frac{d x^2}{c}+1}}-\frac{\sqrt{a} \sqrt{1-\frac{b x^2}{a}} \sqrt{\frac{d x^2}{c}+1} (a d+b c) \text{EllipticF}\left (\sin ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right ),-\frac{a d}{b c}\right )}{\sqrt{b} d \sqrt{b x^2-a} \sqrt{c+d x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.12297, antiderivative size = 191, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 6, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.24, Rules used = {423, 427, 426, 424, 421, 419} \[ \frac{\sqrt{a} \sqrt{b} \sqrt{1-\frac{b x^2}{a}} \sqrt{c+d x^2} E\left (\sin ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )|-\frac{a d}{b c}\right )}{d \sqrt{b x^2-a} \sqrt{\frac{d x^2}{c}+1}}-\frac{\sqrt{a} \sqrt{1-\frac{b x^2}{a}} \sqrt{\frac{d x^2}{c}+1} (a d+b c) F\left (\sin ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )|-\frac{a d}{b c}\right )}{\sqrt{b} d \sqrt{b x^2-a} \sqrt{c+d x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 423
Rule 427
Rule 426
Rule 424
Rule 421
Rule 419
Rubi steps
\begin{align*} \int \frac{\sqrt{-a+b x^2}}{\sqrt{c+d x^2}} \, dx &=\frac{b \int \frac{\sqrt{c+d x^2}}{\sqrt{-a+b x^2}} \, dx}{d}-\frac{(b c+a d) \int \frac{1}{\sqrt{-a+b x^2} \sqrt{c+d x^2}} \, dx}{d}\\ &=\frac{\left (b \sqrt{1-\frac{b x^2}{a}}\right ) \int \frac{\sqrt{c+d x^2}}{\sqrt{1-\frac{b x^2}{a}}} \, dx}{d \sqrt{-a+b x^2}}-\frac{\left ((b c+a d) \sqrt{1+\frac{d x^2}{c}}\right ) \int \frac{1}{\sqrt{-a+b x^2} \sqrt{1+\frac{d x^2}{c}}} \, dx}{d \sqrt{c+d x^2}}\\ &=\frac{\left (b \sqrt{1-\frac{b x^2}{a}} \sqrt{c+d x^2}\right ) \int \frac{\sqrt{1+\frac{d x^2}{c}}}{\sqrt{1-\frac{b x^2}{a}}} \, dx}{d \sqrt{-a+b x^2} \sqrt{1+\frac{d x^2}{c}}}-\frac{\left ((b c+a d) \sqrt{1-\frac{b x^2}{a}} \sqrt{1+\frac{d x^2}{c}}\right ) \int \frac{1}{\sqrt{1-\frac{b x^2}{a}} \sqrt{1+\frac{d x^2}{c}}} \, dx}{d \sqrt{-a+b x^2} \sqrt{c+d x^2}}\\ &=\frac{\sqrt{a} \sqrt{b} \sqrt{1-\frac{b x^2}{a}} \sqrt{c+d x^2} E\left (\sin ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )|-\frac{a d}{b c}\right )}{d \sqrt{-a+b x^2} \sqrt{1+\frac{d x^2}{c}}}-\frac{\sqrt{a} (b c+a d) \sqrt{1-\frac{b x^2}{a}} \sqrt{1+\frac{d x^2}{c}} F\left (\sin ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )|-\frac{a d}{b c}\right )}{\sqrt{b} d \sqrt{-a+b x^2} \sqrt{c+d x^2}}\\ \end{align*}
Mathematica [A] time = 0.0462591, size = 90, normalized size = 0.47 \[ \frac{\sqrt{b x^2-a} \sqrt{\frac{c+d x^2}{c}} E\left (\sin ^{-1}\left (\sqrt{-\frac{d}{c}} x\right )|-\frac{b c}{a d}\right )}{\sqrt{-\frac{d}{c}} \sqrt{\frac{a-b x^2}{a}} \sqrt{c+d x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.014, size = 109, normalized size = 0.6 \begin{align*}{\frac{a}{-bd{x}^{4}+ad{x}^{2}-bc{x}^{2}+ac}\sqrt{b{x}^{2}-a}\sqrt{d{x}^{2}+c}\sqrt{{\frac{d{x}^{2}+c}{c}}}\sqrt{-{\frac{b{x}^{2}-a}{a}}}{\it EllipticE} \left ( x\sqrt{-{\frac{d}{c}}},\sqrt{-{\frac{bc}{ad}}} \right ){\frac{1}{\sqrt{-{\frac{d}{c}}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{b x^{2} - a}}{\sqrt{d x^{2} + c}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{b x^{2} - a}}{\sqrt{d x^{2} + c}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{- a + b x^{2}}}{\sqrt{c + d x^{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{b x^{2} - a}}{\sqrt{d x^{2} + c}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]